package com.ysd.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ysd.entity.Common;
import com.ysd.mapper.CommonMapper;
import com.ysd.service.CommonService;

@Service
public class CommonServiceImpl implements CommonService{
	@Autowired
	private CommonMapper commonMapper;

	@Override
	public List<Common> findCommon(int productId) {
		List<Common> list = commonMapper.getCommon(productId);
		return list;
	}
	

	
}
